<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>淘宝移动端导航</title>
    <link rel="stylesheet" href="/css/reset.css"> <!-- 清除浏览器默认样式 -->
    <link rel="stylesheet" href="/css/public.css">

    <style>
        .nav{ /* 设置外层容器 */
            width: 100%;
            
        }

        .nav-inner{ /* 设置每行的容器 */
            display: flex;
            justify-content: space-around;
        }
        .item{
            width: 18%;
            /* background-color: #bfa; */
            /* border: 1px solid red;
            height: 300px; */
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
        }
        
        .item a{
            color: #333;
            text-decoration: none;
            font-size: 16px;
        }
        .item img{
            width: 100%;
            vertical-align: top;
        }

        
    </style>
</head>
<body>
    <nav class="nav">
        <div class="nav-inner">
            <div class="item">
                <a href="#">
                    <img src="/helloworld_html5/imgs/taobao/nav-1.webp" alt="">
                    <span>天猫新品</span>
                </a>
            </div>
            <div class="item">
                <a href="#">
                    <img src="/helloworld_html5/imgs/taobao/nav-2.webp" alt="">
                    <span>今日爆款</span>
                </a>
            </div>
            <div class="item">
                <a href="#">
                    <img src="/helloworld_html5/imgs/taobao/nav-3.webp" alt="">
                    <span>天猫国际</span>
                </a>
            </div>
            <div class="item">
                <a href="#">
                    <img src="/helloworld_html5/imgs/taobao/nav-4.webp" alt="">
                    <span>飞猪旅行</span>
                </a>
            </div>
            <div class="item">
                <a href="#">
                    <img src="/helloworld_html5/imgs/taobao/nav-5.webp" alt="">
                    <span>天猫超市</span>
                </a>
            </div>
        </div>
        <div class="nav-inner">
            <div class="item">
                <a href="#">
                    <img src="/helloworld_html5/imgs/taobao/nav-6.webp" alt="">
                    <span>淘宝吃货</span>
                </a>
            </div>
            <div class="item">
                <a href="#">
                    <img src="/helloworld_html5/imgs/taobao/nav-7.webp" alt="">
                    <span>省钱卡</span>
                </a>
            </div>
            <div class="item">
                <a href="#">
                    <img src="/helloworld_html5/imgs/taobao/nav-8.webp" alt="">
                    <span>领淘金币</span>
                </a>
            </div>
            <div class="item">
                <a href="#">
                    <img src="/helloworld_html5/imgs/taobao/nav-9.webp" alt="">
                    <span>阿里拍卖</span>
                </a>
            </div>
            <div class="item">
                <a href="#">
                    <img src="/helloworld_html5/imgs/taobao/nav-10.webp" alt="">
                    <span>分类</span>
                </a>
            </div>
        </div>
    </nav>

    
</body>
</html>